home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 1
/
Cream of the Crop 1.iso
/
COMM
/
LA31.ARJ
/
LA31.DOC
next >
Wrap
Text File
|
1992-04-21
|
13KB
|
291 lines
┌──────────────────────────────────────────────────────────┐
│ LAPHONE v3.1 Written by Michael J. Baker │
└──────────────────────────────────────────────────────────┘
PURPOSE
-------
LAPHONE v3.1 is a nifty little utility that will calculate the assigned city
of a phone number in the entire Pacific Bell service area. This includes
the entire 213, 818, 714, and 310 area codes, as well as the northern part of
the 619 area code, the southern part of the 805 area code, and a few
communities in the 602 area code (Arizona). The program can also determine
the type of phone call between a source and destination number (available to
registered users only). It is intended for people who make many calls
within the Los Angeles area (such as computer users with modems), and are
concerned about their phone bills. Other features of this program include
a city prefix search feature, and an area code prefix search feature.
FILES
-----
The files included with this program are:
LA31.EXE (The program)
LA31.DOC (This file)
LAPHONE.DAT (Prefix data file)
LACITY.DAT (City data file)
REGISTER.DOC (Please read! Registration info)
LA31.NEW (Update list)
LAPHONE.DAT and LACITY.DAT MUST be in the same directory as LAPHONE.EXE for
the program to work. This program may be freely distributed, provided that
all the above files (in their unaltered form) are included, and that no
charge is collected for doing so. In order to use the program, YOU MUST
REGISTER!
FORMAT
------
You can use the program from the command line or with the menu interface.
Command line
------------
la31 [argument 1] [argument 2 (optional)] ........ [argument n (optional)]
Argument = a telephone prefix,
area code and a prefix,
normal 7 digit number,
area code + 7 digit number,
a city name
or an area code
You may process as many arguments as DOS will allow you to type on the command
line.
A new menu driven interface has been added in version 3, which activates
itself when no command line arguments have been entered:
Menu interface
--------------
╔════════════════════════════════════════════╗
║ LAPHONE v3.1 Written by Michael J. Baker ║
║ ║
║ 1) Search a phone number ║
║ 2) Search an area code ║
║ 3) Search for city prefixes ║
║ 4) Change colors ║
║ 5) Change text mode ║
║ 6) List LAPHONE cities ║
║ 7) Edit prefix codes ║
║ 8) PLEASE REGISTER! ║
║ 9) Exit to DOS ║
║ ║
╚════════════════════════════════════════════╝
The menu interface has extra options that cannot be accessed from the command
line. These are 'Changing colors', 'Changing text mode', 'List LAPHONE
cities', and 'Edit prefix codes'. The registered version of the program has
no 'PLEASE REGISTER!' choice, for obvious reasons.
REMARKS
-------
The telephone number(s) can be entered in one of four formats:
XXX (Prefix only)
XXX-XXXX (Prefix and Suffix)
XXX-XXX (Area code and Prefix)
XXX-XXX-XXXX (Full number)
The suffix need not be entered, but doing so will not mess up the program.
When entering a number that is not prefix only, the "-" must be included.
Notice that the area code is optional, but leaving it out will cause the
program to search ALL area codes for the desired number, and will display
all hits. If two or more numbers are entered, their formats can be mixed up
with no problem. For example, the first number can be of format XXX, the
second XXX-XXX, the third XXX-XXX-XXXX, etc. If you attempt to enter a
number of another format, an error message will be displayed. When one
number is entered, the community to which the number is assigned will be
displayed. Registered users will be able to determine the type of call
between their home town and any other city. The cost of the call between
the two will then be known. See the EXAMPLES section below to see how this is
done. The distribution version has VAN NUYS as the home town (I used to live
there), so you can see how the program works. If you live in VAN NUYS, you
are lucky, but you should still register. There are 4 types of calls:
LOCAL or ZONE 1 (0-12 miles away)
ZONE 2 (13-16 miles away)
TOLL or ZONE 3 (>16 miles in select cities)
LONG DISTANCE (>16 miles in most cities)
The cost of each call (as of November 1, 1991) is:
LOCAL or ZONE 1 = FREE
ZONE 2 = $.10 for the first minute, $.04 each
additional minute, may vary slightly in
different areas
TOLL or ZONE 3 = $.17 to $.25 for the first minute,
$.07 to $.16 each additional minute,
may vary slightly in different areas
LONG DISTANCE = NOT CALCULATED BY THIS PROGRAM
Note: A discount of 30% applies to calls placed from 5-11pm and a 60%
discount from 11pm-8am, weekends, and certain holidays IN ALL ZONES. The
rates shown above are the MAXIMUM rates you would have to pay. The rates
above were those in effect on November 1, 1991, and are subject to change.
Future updates of this program will incorporate these changes.
Other features of this program include color changing, a city prefix
search feature, an area code prefix search feature, and a prefix code editor.
Changing colors
---------------
To change the program colors, choose option '4)' from the program menu.
You can then modify the program's foreground, background, and highlight
colors, using the arrow keys. This should be self-explainatory (I hope).
City prefix search
------------------
Typing a city name as one of the arguments (or choosing option '3)' from
the program menu) will begin a search for ALL prefixes assigned to that city.
All cities with two or more words must be separated by the '_' symbol on the
command line (as in van_nuys and los_angeles_12). This is necessary because
the program uses spaces to separate command arguments. This is NOT necessary
from the program menu.
If you are unsure of the spelling of a city, or what cities are
acceptable to search, try choosing '6)' from the program menu, and all of the
cities known to LAPHONE will be listed. If you cannot find your city in this
list, don't worry, PACIFIC BELL sometimes considers one city as part of
another city for organizational purposes. For example, Sherman Oaks is
considered to be part of VAN NUYS.
Area code prefix search
-----------------------
Typing an area code (choice '2)' from the program menu or on the command
line) displays ALL the prefixes in that area code, with appropriate
assignments. All prefixes from 201-999 will be displayed (there are no
prefixes below 201). This is a long list, the screen will pause automatically
after each screenfull of information.
Prefix editor
-------------
Since keeping up with prefix code changes is a daunting task that tends
to drive me insane, I have included a prefix editor for version 3.1. This
will allow you to change the assignment of a particular prefix yourself,
instead of waiting for the next release to come out.
To edit a prefix code, choose '7)' from the program menu. You will be
asked the area code and prefix whose assignment needs to be changed. The
program will then tell you the current assignment (either a city name or
'UNASSIGNED' if there is none). You then type in the new assignment (or ENTER
if you wish to make no change). Make sure you know the spelling of the city
you are typing in, choose '6)' from the program menu if you are unsure. If
the city you type in is not part of LACITY.DAT (which has all the cities
known to LAPHONE), an error message will be displayed. After successfuly
typing in the new assignment, the new information will be saved (in
LAPHONE.DAT).
EXAMPLES
--------
1) 'la31 787'
will result in
'The prefix 787 is assigned to VAN NUYS in the 818 area code (LOCAL)'
'The prefix 787 is UNASSIGNED in the 213 area code'
'The prefix 787 is assigned to RIVERSIDE in the 714 area code (LD)'
'The prefix 787 is UNASSIGNED in the 619 area code'
'The prefix 787 is UNASSIGNED in the 805 area code'
'The prefix 787 is UNASSIGNED in the 602 area code'
'The prefix 787 is assigned to TORRANCE in the 310 area code (LD)'
The type of call appears at the end of the line. In other words, a call
from VAN NUYS (the home town in the distribution version) to TORRANCE is
LONG DISTANCE. Note that since the area code was not specified with the
prefix, ALL area codes were searched.
2) 'la31 352-0697'
will result in
'The number 352-0697 is assigned to SUNLAND-TUJUNGA in the 818 area code (LOCAL)
'The number 352-0697 is UNASSIGNED in the 213 area code'
'The number 352-0697 is assigned to ARLINGTON in the 714 area code (LD)'
'The number 352-0697 is UNASSIGNED in the 619 area code'
'The number 352-0697 is UNASSIGNED in the 805 area code'
'The number 352-0697 is UNASSIGNED in the 602 area code'
'The number 352-0697 is assigned to GARDENA in the 310 area code (LD)'
Since a full number was entered, it says 'The number' instead of 'The
prefix'.
3) 'la31 818-352'
will result in
'The prefix 352 is assigned to SUNLAND-TUJUNGA in the 818 area code (LOCAL)'
In this example, the area code is specified, so only one hit is found.
4) 'la31 culver_city'
will result in
'CULVER CITY (310 area code) (LOCAL)'
'----------------------------------'
'202 204 280 287 558 559 836 837 838 839 840 841 842'
This is a typical city prefix search. The numbers represent ALL of the
prefixes assigned to CULVER CITY. The area code is specified after the city
name. Also, the type of call is specified, in this case a call to CULVER
CITY from VAN NUYS is a LOCAL call.
5) 'la31 310'
will result in
'AREA CODE 310'
'-------------'
'201-BEVERLY HILLS 202-CULVER CITY 203-BEVERLY HILLS'
'204-CULVER CITY 205-BEVERLY HILLS 206-WEST LOS ANGELES'
'207-WEST LOS ANGELES 208-WEST LOS ANGELES 209-WEST LOS ANGELES'
.
.
.
.
A typical area code prefix search is shown here. All prefixes from 201-999
will be displayed (there are no prefixes below 201). This is a long list, the
screen will pause after each screenfull of information.
This program is based on the Pacific Bell White Pages, good through May 1992.
However, changes in zoning or cost of calls are possible before then. These
will be corrected in later versions. If there are any errors in the
assignment of phone numbers or any other bugs in this program (I had to type
over 4,800 prefix codes in this program, so there are bound to be a few!!),
please write me at the address below and let me know. I will correct it in a
later version. Since there may be bugs, and since the phone company changes
rates and prefix codes on a regular basis (difficult to keep up with), you use
this program AT YOUR OWN RISK. I can take NO RESPONSIBILITY for the results
of this program.
HAVE FUN!!!!!!!!!!!